//
//  HRInvestmentViewController.m
//  Economical report
//
//  Created by wyzc on 16/6/27.
//  Copyright © 2016年 叶落知秋. All rights reserved.
//

#import "HRInvestmentViewController.h"
#import "HRMingJiaViewController.h"
#import "HRYouXuanViewController.h"
@interface HRInvestmentViewController ()

@end

@implementation HRInvestmentViewController
- (instancetype)init{
    if ([super initWithTagViewHeight:40]) {
        
    }
    return self;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.tagItemSize=CGSizeMake(UPSreenW*0.5,40);
    
    
    self.selectedTitleColor=HRCOLOR(0, 200, 130);
    self.selectedTitleFont=[UIFont systemFontOfSize:13];
    
    self.normalTitleColor=[UIColor blackColor];
    self.normalTitleFont=[UIFont systemFontOfSize:13];
    
    self.backgroundColor=[UIColor whiteColor];
    NSArray *titleArray=@[@"名家",@"优选"];
    NSArray *classArray=@[[HRMingJiaViewController class],[HRYouXuanViewController class]];
    [self reloadDataWith:titleArray andSubViewdisplayClasses:classArray withParams:nil];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
